[INFO] fetching crate minect 0.2.1...
[INFO] fixing minect-0.2.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate minect 0.2.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate minect 0.2.1
[INFO] finished tweaking crates.io crate minect 0.2.1
[INFO] tweaked toml for crates.io crate minect 0.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate minect 0.2.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 111 packages to latest compatible versions
[INFO] [stderr]       Adding notify v6.1.1 (available: v8.2.0)
[INFO] [stderr]       Adding serial_test v2.0.0 (available: v3.5.0)
[INFO] [stderr]       Adding simple_logger v4.3.3 (available: v5.2.0)
[INFO] [stderr]       Adding strum v0.25.0 (available: v0.28.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7eed59b495fa3a3ce12f561450645447b7a6b8b639e06b2bca2df1a52d8354bb
[INFO] running `Command { std: "docker" "start" "7eed59b495fa3a3ce12f561450645447b7a6b8b639e06b2bca2df1a52d8354bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7eed59b495fa3a3ce12f561450645447b7a6b8b639e06b2bca2df1a52d8354bb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7eed59b495fa3a3ce12f561450645447b7a6b8b639e06b2bca2df1a52d8354bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7eed59b495fa3a3ce12f561450645447b7a6b8b639e06b2bca2df1a52d8354bb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling fs3 v0.5.0
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]    Compiling time-macros v0.2.30
[INFO] [stderr]     Checking filetime v0.2.29
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking time-core v0.1.9
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking num-conv v0.2.2
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking cesu8 v1.1.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]     Checking colored v2.2.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling minect v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2021 edition to 2024
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking time v0.3.51
[INFO] [stderr]     Checking notify v6.1.1
[INFO] [stderr]     Checking simple_logger v4.3.3
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling serial_test_derive v2.0.0
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking strum v0.25.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking hematite-nbt v0.5.2
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking serial_test v2.0.0
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/connect.rs (6 fixes)
[INFO] [stderr]        Fixed src/macros.rs (1 fix)
[INFO] [stderr]        Fixed src/lib.rs (4 fixes)
[INFO] [stderr]        Fixed src/log/observer.rs (1 fix)
[INFO] [stdout] warning: `impl Stream<Item = LogEvent>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/lib.rs:459:70
[INFO] [stdout]     |
[INFO] [stdout] 459 |     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/lib.rs:459:31
[INFO] [stdout]     |
[INFO] [stdout] 459 |     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                               ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:459:48
[INFO] [stdout]     |
[INFO] [stdout] 459 |     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 459 -     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout] 459 +     pub fn add_named_listener<T: Into<String>>(&mut self, name: T) -> impl Stream<Item = LogEvent> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl Iterator<Item = Command>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/lib.rs:649:7
[INFO] [stdout]     |
[INFO] [stdout] 649 | ) -> (impl Iterator<Item = Command>, usize) {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/lib.rs:646:20
[INFO] [stdout]     |
[INFO] [stdout] 646 |     connection_id: &str,
[INFO] [stdout]     |                    ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:645:15
[INFO] [stdout]     |
[INFO] [stdout] 645 |     commands: impl IntoIterator<IntoIter = impl ExactSizeIterator<Item = Command>>,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 644 ~ fn add_implicit_commands<T: ExactSizeIterator<Item = Command>, U: IntoIterator<IntoIter = impl ExactSizeIterator<Item = Command>>>(
[INFO] [stdout] 645 ~     commands: UT>,
[INFO] [stdout] 646 |     connection_id: &str,
[INFO] [stdout] 647 |     structure_id: u64,
[INFO] [stdout] 648 |     enable_logging_automatically: bool,
[INFO] [stdout] 649 ~ ) -> (impl Iterator<Item = Command> + use<T, U>, usize) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl Stream<Item = LogEvent>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/log/observer.rs:108:66
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub fn add_named_listener(&self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/log/observer.rs:108:31
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub fn add_named_listener(&self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                               ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/log/observer.rs:108:44
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub fn add_named_listener(&self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 108 -     pub fn add_named_listener(&self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout] 108 +     pub fn add_named_listener<T: Into<String>>(&self, name: T) -> impl Stream<Item = LogEvent> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl Stream<Item = log::LogEvent>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/lib.rs:459:70
[INFO] [stdout]     |
[INFO] [stdout] 459 |     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/lib.rs:459:31
[INFO] [stdout]     |
[INFO] [stdout] 459 |     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                               ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:459:48
[INFO] [stdout]     |
[INFO] [stdout] 459 |     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 459 -     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout] 459 +     pub fn add_named_listener<T: Into<String>>(&mut self, name: T) -> impl Stream<Item = LogEvent> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl Iterator<Item = Command>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/lib.rs:649:7
[INFO] [stdout]     |
[INFO] [stdout] 649 | ) -> (impl Iterator<Item = Command>, usize) {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/lib.rs:646:20
[INFO] [stdout]     |
[INFO] [stdout] 646 |     connection_id: &str,
[INFO] [stdout]     |                    ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:645:15
[INFO] [stdout]     |
[INFO] [stdout] 645 |     commands: impl IntoIterator<IntoIter = impl ExactSizeIterator<Item = Command>>,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 644 ~ fn add_implicit_commands<T: ExactSizeIterator<Item = Command>, U: IntoIterator<IntoIter = impl ExactSizeIterator<Item = Command>>>(
[INFO] [stdout] 645 ~     commands: UT>,
[INFO] [stdout] 646 |     connection_id: &str,
[INFO] [stdout] 647 |     structure_id: u64,
[INFO] [stdout] 648 |     enable_logging_automatically: bool,
[INFO] [stdout] 649 ~ ) -> (impl Iterator<Item = Command> + use<T, U>, usize) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl Stream<Item = log::LogEvent>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/log/observer.rs:108:66
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub fn add_named_listener(&self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/log/observer.rs:108:31
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub fn add_named_listener(&self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                               ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/log/observer.rs:108:44
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub fn add_named_listener(&self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 108 -     pub fn add_named_listener(&self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout] 108 +     pub fn add_named_listener<T: Into<String>>(&self, name: T) -> impl Stream<Item = LogEvent> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.68s
[INFO] [stderr] crater-edition-check: minect v0.2.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling minect v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0499]: cannot borrow `*connection` as mutable more than once at a time
[INFO] [stdout]    --> src/connect.rs:271:5
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let events = connection.add_named_listener(LISTENER_NAME);
[INFO] [stdout]     |                  ---------- first mutable borrow occurs here
[INFO] [stdout] 270 |
[INFO] [stdout] 271 |     connection.execute_commands([Command::named(
[INFO] [stdout]     |     ^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 306 | }
[INFO] [stdout]     | - first borrow might be used here, when `events` is dropped and runs the destructor for type `impl Stream<Item = LogEvent>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/connect.rs:269:18
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let events = connection.add_named_listener(LISTENER_NAME);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:459:48
[INFO] [stdout]     |
[INFO] [stdout] 459 |     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/lib.rs:459:30
[INFO] [stdout]     |
[INFO] [stdout] 459 -     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout] 459 +     pub fn add_named_listener<T: Into<String>>(&mut self, name: T) -> impl Stream<Item = LogEvent> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*connection` as mutable more than once at a time
[INFO] [stdout]    --> src/connect.rs:271:5
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let events = connection.add_named_listener(LISTENER_NAME);
[INFO] [stdout]     |                  ---------- first mutable borrow occurs here
[INFO] [stdout] 270 |
[INFO] [stdout] 271 |     connection.execute_commands([Command::named(
[INFO] [stdout]     |     ^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 306 | }
[INFO] [stdout]     | - first borrow might be used here, when `events` is dropped and runs the destructor for type `impl Stream<Item = log::LogEvent>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/connect.rs:269:18
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let events = connection.add_named_listener(LISTENER_NAME);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:459:48
[INFO] [stdout]     |
[INFO] [stdout] 459 |     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/lib.rs:459:30
[INFO] [stdout]     |
[INFO] [stdout] 459 -     pub fn add_named_listener(&mut self, name: impl Into<String>) -> impl Stream<Item = LogEvent> {
[INFO] [stdout] 459 +     pub fn add_named_listener<T: Into<String>>(&mut self, name: T) -> impl Stream<Item = LogEvent> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minect` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minect` (lib test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "7eed59b495fa3a3ce12f561450645447b7a6b8b639e06b2bca2df1a52d8354bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7eed59b495fa3a3ce12f561450645447b7a6b8b639e06b2bca2df1a52d8354bb", kill_on_drop: false }`
[INFO] [stdout] 7eed59b495fa3a3ce12f561450645447b7a6b8b639e06b2bca2df1a52d8354bb
